#include <stdio.h>

int main(int argc, char **argv)
{
	char d[128] = {0};
	char s[] = "hello world";

	sscanf(s, "%[^\n]%*c", d);

	printf("d= %s\n", d);
	
	return 0;
}
